/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package br.com.tbp.persitence.dao;

import br.com.tbp.exception.PersistenciaException;
import br.com.tbp.model.domain.Consultor;
import java.util.List;

/**
 *
 * @author Diego Freire
 */
public interface ConsultorDao {

    public void adicionar(Consultor c) throws PersistenciaException;
    public List<Consultor> pesquisar() throws PersistenciaException;
    public List<Consultor> pesquisar2() throws PersistenciaException;
    public List<Consultor> pesquisar(int limit1, int limit2) throws PersistenciaException;
    public List<Consultor> pesquisar(String nome) throws PersistenciaException;
    public Consultor pesquisar(long id) throws PersistenciaException;
    public void atualizar(Consultor c) throws PersistenciaException;
    public void remover(Consultor c) throws PersistenciaException;
    public byte[] getFoto(long id) throws PersistenciaException;

}
